<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no"/>
    <title>水印图层</title>
    <link rel="stylesheet" href="css/demo.css">
    <script src="js/configData.js"></script>
    <script src="libs/axios.min.js"></script>
    <script src="libs/httpService.js"></script>
    <script src="js/demo.js"></script>
</head>


<body id="body">
<div id='map'></div>
</body>

</html>

<script>
    let watermarkLayer
    function initPage(){
        watermarkLayer = new egisV2.layer.WatermarkLayer({
            map:map
            // text:'梁超-Test',
            // textStyle:{
            //     "text-color": "rgb(255,255,255)",
            //     "text-halo-color": "#e7e7e7",
            //     "text-halo-width": 1,
            //     "text-opacity": 0.3,
            // }
        })
        watermarkLayer.render()

        mapServiceUrl = msServiceUrl + '/mapservice/mapexport/vecformat'
        initGridLayer()
    }
    window.onload = function () {
        loadGeoMap_ms(initPage)
    }


</script>
